<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<style type="text/css">
	
	.select_width { width:133px }
	
</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />

<div class="t_bar"><span class="color_red">*</span>申请单位基本情况（续）</div>
<table class="t_css" width="100%" border="0" cellpadding="0" id="innovation_orgInfo" cellspacing="1">	
	<tr>
		<td align="right" width="15%">高端人才及团队名称：</td>
		<td colspan="3">
			<input type="text"  name="proposal/zh_title"  label="高端人才及团队名称" style="width:80%" class="input_css required" value="<x:out select="$xmlData/data/proposal/zh_title" />" maxlength="50"/>
		</td>
	</tr>
	
	<tr>
		<td align="right" nowrap width="15%">研究方向、领域：</td>
		<td colspan="3">
			<input type="text" name="innovation_org/research" label="研究方向、领域" style="width:80%" required class="input_css required maxlength:50" value="<x:out select="$xmlData/data/innovation_org/research" />" maxlength="50"/>
		</td>
	</tr>
	
	<tr>
		<td align="right" nowrap width="15%">科研仪器设备（含软件）总值（原值）：</td>
		<td width="35%">
			<input name="innovation_org/equipment_value" onfocus="InitInput.setNumber(this,7,4,2)" label="科研仪器设备总值" 
			type="text" required class="required input_css "   style="text-align:right; width:150px;"
			 maxlength="50" value="<x:out select="$xmlData/data/innovation_org/equipment_value" />"/>&nbsp;万元
		</td>
		<td align="right" width="15%" nowrap>科研用房面积：</td>
		<td width="35%">
			<input name="innovation_org/research_area" onfocus="InitInput.setNumber(this,7,0,0)" label="科研用房面积" id="fund_total"
			type="text" required class="required input_css"   style="text-align:right; width:150px;"
			 maxlength="50" value="<x:out select="$xmlData/data/innovation_org/research_area" />"/>&nbsp;平方米
		</td>

	</tr>
 </table>
<br>
<table class="t_css" width="100%" border="0" cellpadding="0" id="innovation_orgInfo1" cellspacing="1">	
   <tr>
       <td colspan="2" class="t_bar"><span class="color_red">*</span>申请资助金额</td>
   </tr>
   <tr>
	   <td colspan="2">
	      高端团队可申请获得不超过50万元的开办经费补贴。在无锡市注册满一年并积极开展研发创新活动的，另可申请获得100万元资助；高端团队可申请获得100万至500万的区政府创业投资资金；高端团队可申请获得最高300万元的科技研发资金。
	   </td>
	</tr>
   <tr>
       <td align="right" >申请资助金额合计：</td>
	   <td width="85%">
			<input name="proposal/amt" onfocus="InitInput.setNumber(this,7,4,2)" label="申请资助金额->申请资助金额合计"  id='proposal_amt'
			type="text"  class="input_css required"   style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/proposal/amt" />"/>&nbsp;万元
	   </td>
   </tr> 
</table>
<br>

<div class="t_bar">
	<span class="color_red">*</span>单位负责人情况
</div>

<table class="t_css"  id="innovation_orgPerson" border="0" cellspacing="1" cellpadding="0" width="100%">
<tr>
		<td align="right" nowrap width="150px">姓名：</td>
		<td width="175px">
			<input type="text" class="required" label="单位负责人情况->姓名" maxlength="50" name="principal/cname" value="<x:out select="$xmlData/data/principal/cname"/>" />
			<input type="hidden" name="cname" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/cname"/>">
		</td>
	    <!-- 
	    <td align="right" nowrap width="150px">身份证号码：</td>
		<td colspan="3">
		<input type="text"  style="width:50%" class='required idCard' label="单位负责人情况->身份证号码" maxlength="18" id='id_no2' name="principal/id_no" 
		value="<x:out select="$xmlData/data/principal/id_no"/>"/>
		<input type="hidden" id="fid_no2" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/id_no"/>">
		<input type="hidden" id="fid_type_value2" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/id_type_value"/>">
		<script type="text/javascript">
	            $(function() {
		             var fid_type_value=$("#fid_type_value2").val();
		             if(fid_type_value==1){
		            	 $("#id_no2").val($("#fid_no2").val());
		             }
	            });
          </script>
	</td>
	 -->
	 <td align="right" nowrap>证件类型：</td>
	 
	  <td width="175px">
	      <c:set var="id_card"><x:out select="$xmlData/data/principal/id_type_value"/></c:set>
	      <c:set var="fzr_id_card"><x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/id_type_value"/></c:set>
	         
	         <c:if test="${id_card=='' }">
	            <cpt:select key="id_type" id="id_type" name="id_type" value="${fzr_id_card }" className="select_width" onChange="initControlValue(this.id);setIdNoCheck(this.id);"/>
	         </c:if>
	         
			<c:if test="${id_card!='' }">
	             <cpt:select key="id_type" id="id_type" name="id_type" value="${id_card }" className="select_width" onChange="initControlValue(this.id);setIdNoCheck(this.id);"/>
	        </c:if>
	            
	            <input type="hidden" name="principal/id_type_value" class="required" label="证件类型" value="${id_card }"/>
	            <input type="hidden" name="principal/id_type_name" value="<x:out select="$xmlData/data/principal/id_type_name"/>" />
	            <input type="hidden" name="id_type_name" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/id_type_name"/>">
				<input type="hidden" name="id_type_value" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/id_type_value"/>">
		</td>
		
		
	   <td align="right" nowrap>证件号码：</td>         
	  <td >
	  <c:set var='sfz_no'><x:out select="$xmlData/data/principal/id_no"/></c:set>
	  <c:if test="${sfz_no!='' }">
	  <input maxlength="50" name="principal/id_no" type="text" class="hn_iuput_kuang2 required" label="证件号码" value="${sfz_no }" />
	  </c:if>
	  <c:if test="${sfz_no=='' }">
	  <input maxlength="50" name="principal/id_no" type="text" class="hn_iuput_kuang2 required" label="证件号码" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/id_no"/>" />
	  </c:if>
	  </td>
	</tr>
	
	<tr>
		
		<td align="right" nowrap>学历：</td>
		<td >
			   <c:set var="fzreducate"><x:out select="$xmlData/data/principal/fzreducate_background_value"/></c:set>
			    <c:set var="fzreducate2"><x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/educate_background_value"/></c:set>
			    <c:if test="${fzreducate=='' }">
			       <cpt:select id="fzreducate_background"  key="educate"  className="select_width" value="${fzreducate2}" ></cpt:select>
			    </c:if>
			    <c:if test="${fzreducate!='' }">
			       <cpt:select id="fzreducate_background"  key="educate"  className="select_width" value="${fzreducate}" ></cpt:select>
			    </c:if>
			    <input type="hidden" name="principal/fzreducate_background_value"  class="required selectedWidth" value="${fzreducate}" label="单位负责人情况->最高学历">
				<input type="hidden" name="principal/fzreducate_background_name" value="<x:out select="$xmlData/data/principal/fzreducate_background_name" />">
				<input type="hidden" name="fzreducate_background_name" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/educate_background_name"/>">
				<input type="hidden" name="fzreducate_background_value" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/educate_background_value"/>">
		</td>
		<td align="right" nowrap>专业：</td>
		<td>
		<input type="text" name="principal/major" class="required " label="单位负责人情况->专业" maxlength="50"
					value="<x:out select="$xmlData/data/principal/major"/>"/>
		<input type="hidden" name="mobile" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/major"/>">
		</td>
		
		<td align="right" nowrap>职称：</td>
		<td nowrap="nowrap">
		<c:set var="prof_title1"><x:out select="$xmlData/data/principal/prof_title_value" /></c:set>
	     <c:set var="prof_title3">{'id':'<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/prof_title_value" />','name':'<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/prof_title_name" />'}</c:set>
	     <c:set var="prof_title">{'id':'<x:out select="$xmlData/data/principal/prof_title_value" />','name':'<x:out select="$xmlData/data/principal/prof_title_name" />'}</c:set>
	    <c:if test="${prof_title1!='' }">
	     <cpt:tree key="prof_title" cacheable="false" className="hn_iuput_kuang2" readonly="true" value="${prof_title}" label="职称"
	    id="prof_title_1" name="prof_title" showPattern="all" shieldPattern="0" onClick="initTreeValueExt"/>
	    </c:if>
	    <c:if test="${prof_title1=='' }">
	    <cpt:tree key="prof_title" cacheable="false" className="hn_iuput_kuang2" readonly="true" value="${prof_title3}" label="职称"
	    id="prof_title_1" name="prof_title" showPattern="all" shieldPattern="0" onClick="initTreeValueExt"/>
	    </c:if>
		<input type="hidden" name="principal/prof_title_value" class="required" label="职称" value="<x:out select="$xmlData/data/principal/prof_title_value" />"/>
	    <input type="hidden" name="principal/prof_title_name" value="<x:out select="$xmlData/data/principal/prof_title_name" />"/>
	    <input type="hidden"  name="prof_title_value"  value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/prof_title_value" />"/>
	    <input type="hidden"  name="prof_title_name" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/prof_title_name" />"/>
	    </td>
		<!--  
		<td>
		<c:set var="prof_title"><x:out select="$xmlData/data/principal/prof_title_value" /></c:set>
	    <c:set var="prof_title2"><x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/prof_title_value" /></c:set>
	    <c:if test="${prof_title=='' }">
	    <cpt:select id="prof_title"  key="prof_title"  className="select_width" value="${prof_title2}" ></cpt:select>
	    </c:if>
	    <c:if test="${prof_title!='' }">
	     <cpt:select id="prof_title"  key="prof_title"  className="select_width" value="${prof_title}" ></cpt:select>
	     </c:if>
	    <input type="hidden"  name="principal/prof_title_value" class="required" label="职称" value="<x:out select="$xmlData/data/principal/prof_title_value" />"/>
	    <input type="hidden"  name="principal/prof_title_name" value="<x:out select="$xmlData/data/principal/prof_title_name" />"/>
	   	<input type="hidden"  name="prof_title_value"  value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']//prof_title_value" />"/>
	    <input type="hidden"  name="prof_title_name" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']//prof_title_name" />"/>
	   	</td>
	   	-->
	</tr>
	<tr>
		<td align="right" nowrap>职位：</td>
		<td>
			<input type="text" name="principal/position" class="required " label="单位负责人情况->职务" maxlength="50"
					value="<x:out select="$xmlData/data/principal/position"/>"/>
			<input type="hidden" name="position" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/position"/>">
		</td>
		<td align="right" nowrap>电话：</td>
		<td>
			<input type="text" name="principal/tel" class="required" label="单位负责人情况->电话" maxlength="20"
					value="<x:out select="$xmlData/data/principal/tel"/>"/>
		<input type="hidden" name="tel" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/tel"/>">
			</td>
		<td align="right" nowrap>手机：</td>
		<td>
			<input type="text" class="required mobile" label="单位负责人情况->手机" maxlength="11" name="principal/mobile" 
					value="<x:out select="$xmlData/data/principal/mobile"/>"/>
			<input type="hidden" name="mobile" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/mobile"/>">
			</td>
	</tr>
	<tr>
		<td align="right" nowrap>电子邮件：</td>
		<td colspan="5">
			<input type="text" class="required email" label="单位负责人情况->电子邮件" maxlength="30" name="principal/email" 
					value="<x:out select="$xmlData/data/principal/email"/>"/>
			<input type="hidden" name="mobile" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/email"/>">
			</td>
	</tr>
	<tr>
		<td align="right">主要学习工作情况介绍（限300字）</td>
		<td colspan="5">
			<textarea name="principal/work_situation" rows="5" style="width:775px" class="input_textarea required maxlength:300 textarea" label="单位负责人情况->主要学习工作情况介绍" ><x:out select="$xmlData/data/principal/work_situation" /></textarea>
		<input name="principal/work_situation_hidden" value="" type="hidden"/>
		</td>
	</tr>
</table>
<br>

<div class="t_bar"><span class="color_red">*</span>单位人员配备情况（单位：人）</div>
<table class=" t_css table01" width="100%" border="0" cellpadding="0" id="orgPersons_inn" cellspacing="1">	
	<tr>
		<th rowspan="2" width="70"></th>
		<th colspan="5" align="center">
			固定人员（在单位工作时间75%以上）
		</th>
		<th colspan="5" align="center">
			流动人员（客座）
		</th>
	</tr>
	<tr>
		<th width="80" align="center" nowrap>博士及高级职称</th>
		<th width="80" align="center" nowrap>硕士及中级职称</th>
		<th width="40" align="center" nowrap>本科</th>
		<th width="40" align="center" nowrap>大专</th>
		<th width="40" align="center" nowrap >其他</th>
		<th width="80" align="center" nowrap>博士及高级职称</th>
		<th width="80" align="center" nowrap>硕士及中级职称</th>
		<th width="40" align="center" nowrap>本科</th>
		<th width="40" align="center" nowrap>大专</th>
		<th width="40" align="center" nowrap>其他</th>
	</tr>
	<tr align="center">
		<th align="center">科研人员</th>
		<td><input name="innovation_org/persons/researcher/fixed/doctor"  onfocus="InitInput.setNumber(this,7,0,0)"  type="text" class=" input_text  maxlength:50" 
			id="doctor_0101" onchange="countNum('doctor_','0101,0201,0301','1');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/researcher/fixed/doctor" />"/></td>
			 
		<td><input name="innovation_org/persons/researcher/fixed/master"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="master_0101" onchange="countNum('master_','0101,0201,0301','1');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/researcher/fixed/master" />"/></td>
			 
		<td><input name="innovation_org/persons/researcher/fixed/undergraduate"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="undergraduate_0101" onchange="countNum('undergraduate_','0101,0201,0301','1');" 
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/researcher/fixed/undergraduate" />"/></td>
			 
		<td><input name="innovation_org/persons/researcher/fixed/college"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="college_0101" onchange="countNum('college_','0101,0201,0301','1');" 
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/researcher/fixed/college" />"/></td>
			 
		<td><input name="innovation_org/persons/researcher/fixed/other"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="other_0101" onchange="countNum('other_','0101,0201,0301','1');" 
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/researcher/fixed/other" />"/></td>
			 
		<td><input name="innovation_org/persons/researcher/flow/doctor"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="doctor_0102" onchange="countNum('doctor_','0102,0202,0302','2');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/researcher/flow/doctor" />"/></td>
			 
		<td><input name="innovation_org/persons/researcher/flow/master"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="master_0102" onchange="countNum('master_','0102,0202,0302','2');" 
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/researcher/flow/master" />"/></td>
			 
		<td><input name="innovation_org/persons/researcher/flow/undergraduate"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="undergraduate_0102" onchange="countNum('undergraduate_','0102,0202,0302','2');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/researcher/flow/undergraduate" />"/></td>
			 
		<td><input name="innovation_org/persons/researcher/flow/college"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="college_0102" onchange="countNum('college_','0102,0202,0302','2');" 
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/researcher/flow/college" />"/></td>
			 
		<td><input name="innovation_org/persons/researcher/flow/other"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="other_0102" onchange="countNum('other_','0102,0202,0302','2');" 
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/researcher/flow/other" />"/></td>
	</tr>
	<tr align="center">
		<th align="center">管理人员</th>
		<td><input name="innovation_org/persons/manager/fixed/doctor"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="doctor_0201" onchange="countNum('doctor_','0101,0201,0301','1');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/manager/fixed/doctor" />"/></td>
			 
		<td><input name="innovation_org/persons/manager/fixed/master"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="master_0201" onchange="countNum('master_','0101,0201,0301','1');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/manager/fixed/master" />"/></td>
			 
		<td><input name="innovation_org/persons/manager/fixed/undergraduate"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="undergraduate_0201" onchange="countNum('undergraduate_','0101,0201,0301','1');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/manager/fixed/undergraduate" />"/></td>
			 
		<td><input name="innovation_org/persons/manager/fixed/college"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="college_0201" onchange="countNum('college_','0101,0201,0301','1');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/manager/fixed/college" />"/></td>
			 
		<td><input name="innovation_org/persons/manager/fixed/other"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="other_0201" onchange="countNum('other_','0101,0201,0301','1');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/manager/fixed/other" />"/></td>
			 
		<td><input name="innovation_org/persons/manager/flow/doctor"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="doctor_0202" onchange="countNum('doctor_','0102,0202,0302','2');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/manager/flow/doctor" />"/></td>
			 
		<td><input name="innovation_org/persons/manager/flow/master"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="master_0202" onchange="countNum('master_','0102,0202,0302','2');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/manager/flow/master" />"/></td>
			 
		<td><input name="innovation_org/persons/manager/flow/undergraduate"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="undergraduate_0202" onchange="countNum('undergraduate_','0102,0202,0302','2');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/manager/flow/undergraduate" />"/></td>
			 
		<td><input name="innovation_org/persons/manager/flow/college"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="college_0202" onchange="countNum('college_','0102,0202,0302','2');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/manager/flow/college" />"/></td>
			 
		<td><input name="innovation_org/persons/manager/flow/other"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="other_0202" onchange="countNum('other_','0102,0202,0302','2');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/manager/flow/other" />"/></td>
	</tr>
	<tr align="center">
		<th align="center">辅助人员</th>
		<td><input name="innovation_org/persons/helpers/fixed/doctor"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="doctor_0301" onchange="countNum('doctor_','0101,0201,0301','1');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/helpers/fixed/doctor" />"/></td>
			 
		<td><input name="innovation_org/persons/helpers/fixed/master"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="master_0301" onchange="countNum('master_','0101,0201,0301','1');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/helpers/fixed/master" />"/></td>
			 
		<td><input name="innovation_org/persons/helpers/fixed/undergraduate"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="undergraduate_0301" onchange="countNum('undergraduate_','0101,0201,0301','1');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/helpers/fixed/undergraduate" />"/></td>
			 
		<td><input name="innovation_org/persons/helpers/fixed/college"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="college_0301" onchange="countNum('college_','0101,0201,0301','1');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/helpers/fixed/college" />"/></td>
			 
		<td><input name="innovation_org/persons/helpers/fixed/other"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="other_0301" onchange="countNum('other_','0101,0201,0301','1');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/helpers/fixed/other" />"/></td>
			 
		<td><input name="innovation_org/persons/helpers/flow/doctor"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="doctor_0302" onchange="countNum('doctor_','0102,0202,0302','2');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/helpers/flow/doctor" />"/></td>
			 
		<td><input name="innovation_org/persons/helpers/flow/master"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="master_0302" onchange="countNum('master_','0102,0202,0302','2');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/helpers/flow/master" />"/></td>
			 
		<td><input name="innovation_org/persons/helpers/flow/undergraduate"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="undergraduate_0302" onchange="countNum('undergraduate_','0102,0202,0302','2');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/helpers/flow/undergraduate" />"/></td>
			 
		<td><input name="innovation_org/persons/helpers/flow/college"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="college_0302" onchange="countNum('college_','0102,0202,0302','2');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/helpers/flow/college" />"/></td>
			 
		<td><input name="innovation_org/persons/helpers/flow/other"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50" 
			id="other_0302" onchange="countNum('other_','0102,0202,0302','2');"
			 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/helpers/flow/other" />"/></td>
	</tr>
	<tr align="center">
		<th align="center">合计</th>
		<td><input name="innovation_org/persons/total/fixed/doctor"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text  maxlength:50 gray" 
			id="doctor_1" disabled style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/total/fixed/doctor" />"/></td>
			 
		<td><input name="innovation_org/persons/total/fixed/master"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text gray  maxlength:50" 
			id="master_1" disabled style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/total/fixed/master" />"/></td>
			 
		<td><input name="innovation_org/persons/total/fixed/undergraduate"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text gray maxlength:50" 
			id="undergraduate_1" disabled style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/total/fixed/undergraduate" />"/></td>
			 
		<td><input name="innovation_org/persons/total/fixed/college"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text gray maxlength:50" 
			id="college_1" disabled	 style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/total/fixed/college" />"/></td>
			 
		<td><input name="innovation_org/persons/total/fixed/other"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text gray maxlength:50" 
			id="other_1" disabled style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/total/fixed/other" />"/></td>
			 
		<td><input name="innovation_org/persons/total/flow/doctor"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text gray maxlength:50" 
			id="doctor_2" disabled style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/total/flow/doctor" />"/></td>
			 
		<td><input name="innovation_org/persons/total/flow/master"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text gray maxlength:50" 
			id="master_2" disabled style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/total/flow/master" />"/></td>
			 
		<td><input name="innovation_org/persons/total/flow/undergraduate"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" gray input_text  maxlength:50" 
			id="undergraduate_2" disabled style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/total/flow/undergraduate" />"/></td>
			 
		<td><input name="innovation_org/persons/total/flow/college"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text gray maxlength:50" 
			id="college_2" disabled style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/total/flow/college" />"/></td>
			 
		<td><input name="innovation_org/persons/total/flow/other"  onfocus="InitInput.setNumber(this,7,0,0)" type="text"  class=" input_text gray maxlength:50" 
			id="other_2" disabled style="text-align:right; width:50px" maxlength="50" value="<x:out select="$xmlData/data/innovation_org/persons/total/flow/other" />"/></td>
	</tr>
</table>
<script type="text/javascript">
	$(function(){
		
		
		initPersonValue('innovation_orgPerson');
		
		
	});
	
	 function initPersonValue(tblName){
   	  var tbl = $("#" + tblName);
   	 
   	  tbl.find("input[type=hidden]").each(function(){
   			var id=$(this).attr("name");
   			
   			if(id==null || id=="")
   				return true;
   			var parentObj=tbl.find("[name$='/"+id+"']");
   			
   			if(parentObj.val() == null || $.trim(parentObj.val()) == ""){
   				var value= $(this).val();
	    			parentObj.val(value);
   			}
   			
   		});
   	  
     }
	 
	 /**
	 * 选择树设置隐藏域值 public.js中原函数不适用，针对treeId中包含下标的情况
	 */
	 function initTreeValueExt(treeId, treeNode) {

	 	var inputId = treeId.substring(0, treeId.lastIndexOf('_'));
	 	if (!(treeNode && (treeNode.level > 0 || !treeNode.isParent))) {
	 		scmWarn($("#" + treeId).attr("label")
	 				+ messageTip.researchAreaInvalidDisciplineCode);
	 		if (treeNode.level == 0) {
	 			$("#" + treeId).val("");
	 			$("#" + treeId).parents("td").find("[name$='" + inputId + "_code'],[id$='" + inputId+ "_code']").val("");
	 			$("#" + treeId).parents("td").find("[name$='" + inputId + "_value'],[id$='" + inputId+ "_value']").val("");
	 			$("#" + treeId).parents("td").find("[name$='" + inputId + "_name'],[id$='" + inputId+ "_name']").val("");
	 		}
	 		return false;
	 		}
	 		var str = treeNode.name;
	 		var obj = treeNode.parentNode;
	 		while (obj != null) {
	 			//str = obj.name + "-" + str;
	 			obj = obj.parentNode;
	 		}
	 		$("#" + treeId).parents("td").find("[name$='" + inputId + "_code'],[id$='" + inputId+ "_code']").val(treeNode.id);
	 		$("#" + treeId).parents("td").find("[name$='" + inputId + "_value'],[id$='" + inputId+ "_value']").val(treeNode.id);
	 		$("#" + treeId).parents("td").find("[name$='" + inputId + "_name'],[id$='" + inputId+ "_name']").val(str);
	 	}

	 /**
	  * 如果人员信息中证件类型为身份证则添加身份证JS验证，否则取消
	  */
	 function setIdNoCheck(idTypeSelectId) {
	 	var parentTd = $("#"+idTypeSelectId).parent("td");
	 	var id_type_name = parentTd.find("input[name$='id_type_name']").val();
	 	var idNo = $("input[name*='id_no']");
	 	var classAttr = idNo.attr("class");
	 	if (id_type_name == "身份证") {
	 		if (classAttr.indexOf("idCard") == -1) {
	 			idNo.attr("class", classAttr+" idCard");
	 		}
	 	} else {
	 		if (classAttr.indexOf("idCard") != -1) {
	 			idNo.attr("class", classAttr.substring(0, classAttr.lastIndexOf(" ")));
	 		}
	 	}
	 }
	
</script>
